 <div id="header-lesson">
 <style type="text/css">
 	.navbar-inverse .navbar-nav>li>a:hover{ color: #555; }
 </style>
<div style="height:50px" class="hidden-xs hidden-sm hidden-md"></div>
<div class="navbar navbar-inverse navbar-fixed-top text hidden-xs hidden-sm hidden-md">
    <div class="navbar-inner">
        <div class="container">
      <!--       <a class="navbar-brand" href=""> 前端工程师</a> -->
            <div class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                   <li class="menu"><a href="<{:U('Subject/index',array('subjectid'=>$subjectid))}>">< <{$subjectInfo.subject}></a></li>
                   
                </ul>
                <div class="pull-right">
                    <ul class="nav navbar-nav">
                        <if condition="!$user_info['user_id']">
                            <!-- <li class="login_01"><a data-type="login" href="<{:U('Index/login')}>">登录</a></li> -->
                            <li class="login_01"><a  data-type="modal" href="/BoxLogin/Login/index">登录</a></li>
                            <else/>
                            <li class="popover_menu" style="position: relative"> <a href="<{:U('User/noti')}>" tabindex="0" class="popover_hover msg_remain_count">消息</a>
                                <div class="popover_box_content" id="msg_noti_list"></div>
                            </li>
                            <li class="popover_menu popover_menu_user">
                                <a class="closed popover_hover">
                                    <{$user_info[ 'nickname']?$user_info[ 'nickname']: '设置昵称'}>
                                </a>
                                <div class="popover_box_content">
                                    <div class="list-group">
                                        <a href="<{:U('User/money')}>" class="list-group-item border-none"><span class="glyphicon glyphicon-credit-card" style="color:#afe14c"  aria-hidden="true"></span> 我的财务</a>
                                        <a href="<{:U('User/earn')}>" class="list-group-item border-none"><span class="glyphicon glyphicon-tasks"  style="color:#B50000"  aria-hidden="true"></span> 赚学币</a>
                                        <a href="<{:U('User/info')}>" class="list-group-item border-none"><span class="glyphicon glyphicon-cog" style=" color: #C96338" c aria-hidden="true"></span> 帐户设置</a>
                                        <a  data-type="link" href="/BoxApi/Index/logout" class="list-group-item" style="border-bottom:none"><span class="glyphicon glyphicon-off" aria-hidden="true"  style="color:#00c0ff" ></span> 退出</a> </div>
                                </div>
                            </li>
                        </if>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script type="text/html" id="msg_noti_list_div">
    <div class="list-group">
        {{each items as _item k }}
        <div class="list-group-item border-none">{{#_item.content}}</div>
        {{/each}}
        <a href="<{:U('User/noti')}>" class="list-group-item  btn_more">查看更多 </a>
    </div>
</script>
